@import '~taro-ui/dist/style/components/tabs.scss';
.totalPage_cheaper {
  width: 100%;
  height: 100vh;
  background: #f5f5f5;
  .contentPage {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #f5f5f5;
    overflow-y: scroll;
    .end {
      width: 100%;
      height: 26px;
      margin: 10px 0 16px 0;
      display: flex;
      justify-content: center;
      font-size: 22px;
      font-weight: 400;
      color: rgba(0, 0, 0, 0.25);
      line-height: 26px;
    }

    .cheaperArea {
      width: 710px;
      background: #ffffff;
      border-radius: 15px;
      margin: 20px auto;
      box-sizing: border-box;
      padding: 30px 24px 23px;
      .headerLine {
        width: 100%;
        height: 33px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 30px;
        .title {
          width: 133px;
          height: 33px;
          margin-left: 4px;
        }
        .more {
          height: 30px;
          display: flex;
          align-items: center;
          .text {
            height: 30px;
            line-height: 30px;
            font-size: 22px;
            font-weight: 400;
            color: #666666;
          }
          .iconRight {
            margin-left: 13px;
            width: 28px;
            height: 30px;
          }
        }
      }
    }

    .product {
      width: 148px;
      display: flex;
      flex-direction: column;
      margin-left: 23px;
      &:first-child {
        margin-left: 0;
      }
      .upImg {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 148px;
        background: #f5f5f5;
        border-radius: 9px;
        position: relative;
        .picture {
          width: 100%;
          height: 100%;
          border-radius: 9px;
        }
        .activeIcon {
          position: absolute;
          top: 0;
          right: 9px;
          &.tuancan {
            width: 36px;
            height: 65px;
          }
          &.zhekou {
            width: 57px;
            height: 35px;
          }
        }
      }
      .priceLineCurrent {
        display: flex;
        justify-content: center;
        margin: 9px 0 0 0;
        width: 100%;
        height: 42px;
        font-size: 30px;
        font-weight: bold;
        color: #cd1818;
        line-height: 42px;
      }
      .priceLineOrigin {
        width: 100%;
        display: flex;
        justify-content: center;
        height: 28px;
        font-size: 20px;
        color: #999999;
        text-decoration: line-through;
        line-height: 28px;
        overflow: hidden;
      }
    }
    .productList {
      width: 100%;
      display: flex;
    }
    .productListCnt {
      width: 100%;
      display: flex;
      flex-flow: row;
      flex-wrap: wrap;
      .product {
        width: 345px;
        background: #ffffff;
        margin-bottom: 20px;
        border-radius: 12px;
        &:nth-child(odd) {
          margin-left: 20px;
          margin-right: 20px;
        }
        &:nth-child(even) {
          margin-left: 0;
          margin-right: 20px;
        }
        .upImg {
          height: 345px;
          border-radius: 12px 12px 0 0;
          .picture {
            border-radius: 12px 12px 0 0;
          }
          .activeIcon {
            right: 18px;
          }
        }
        .name {
          width: 100%;
          box-sizing: border-box;
          margin: 18px 0 4px 0;
          padding: 0 11px 0 22px;
          height: 80px;
          font-size: 26px;
          font-weight: bold;
          color: rgba(0, 0, 0, 0.85);
          line-height: 40px;
          overflow: hidden;
          text-overflow: ellipsis;
          display: -webkit-box;
          -webkit-line-clamp: 2;
          -webkit-box-orient: vertical;
        }
        .priceLine {
          box-sizing: border-box;
          padding: 0 11px 0 22px;
          width: 100%;
          height: 50px;
          font-size: 36px;
          font-weight: bold;
          color: #cd1818;
          line-height: 50px;
        }
        .bottom {
          width: 100%;
          box-sizing: border-box;
          padding: 0 11px 0 22px;
          margin-top: 5px;
          overflow: hidden;

          height: 36px;
          font-size: 20px;
          font-weight: 400;
          color: rgba(0, 0, 0, 0.5);
          line-height: 36px;
        }
      }
    }
  }
}
